/*
  Copyright (c), 2001-2025, Shenshu Tech. Co., Ltd.
 */

#ifndef HI_ISP_DEFINE_H
#define HI_ISP_DEFINE_H

#include "ot_isp_define.h"

#ifdef __cplusplus
extern "C" {
#endif

#define HI_ISP_BE_BUF_NUM_MAX OT_ISP_BE_BUF_NUM_MAX
#define HI_ISP_STRIPING_MAX_NUM OT_ISP_STRIPING_MAX_NUM
#define HI_ISP_SBS_BLOCK_NUM OT_ISP_SBS_BLOCK_NUM
#define HI_ISP_MAX_FE_PIPE_NUM OT_ISP_MAX_FE_PIPE_NUM
#define HI_ISP_MAX_PHY_PIPE_NUM OT_ISP_MAX_PHY_PIPE_NUM
#define HI_ISP_MAX_VIR_PIPE_NUM OT_ISP_MAX_VIR_PIPE_NUM
#define HI_ISP_MAX_PIPE_NUM OT_ISP_MAX_PIPE_NUM
#define HI_ISP_MAX_STITCH_NUM OT_ISP_MAX_STITCH_NUM
#define HI_ISP_SENSOR_WIDTH_MAX OT_ISP_SENSOR_WIDTH_MAX
#define HI_ISP_SENSOR_HEIGHT_MAX OT_ISP_SENSOR_HEIGHT_MAX
#define HI_ISP_RES_WIDTH_MAX OT_ISP_RES_WIDTH_MAX
#define HI_ISP_RES_HEIGHT_MAX OT_ISP_RES_HEIGHT_MAX
#define HI_ISP_RES_WIDTH_MIN OT_ISP_RES_WIDTH_MIN
#define HI_ISP_RES_HEIGHT_MIN OT_ISP_RES_HEIGHT_MIN
#define HI_ISP_CLUT_LUT_LENGTH OT_ISP_CLUT_LUT_LENGTH
#define HI_ISP_CA_YRATIO_LUT_LENGTH OT_ISP_CA_YRATIO_LUT_LENGTH
#define HI_ISP_STATIC_DP_COUNT_NORMAL OT_ISP_STATIC_DP_COUNT_NORMAL
#define HI_ISP_STATIC_DP_COUNT_MAX OT_ISP_STATIC_DP_COUNT_MAX
#define HI_ISP_SUPPORT_OFFLINE_DPC_CALIBRATION OT_ISP_SUPPORT_OFFLINE_DPC_CALIBRATION
#define HI_ISP_BE_AE_ZONE_ROW OT_ISP_BE_AE_ZONE_ROW
#define HI_ISP_BE_AE_ZONE_COLUMN OT_ISP_BE_AE_ZONE_COLUMN
#define HI_ISP_WDR_EXP_RATIO_MAX OT_ISP_WDR_EXP_RATIO_MAX
#define HI_ISP_WDR_EXP_RATIO_MIN OT_ISP_WDR_EXP_RATIO_MIN
#define HI_ISP_AE_MIN_WIDTH OT_ISP_AE_MIN_WIDTH
#define HI_ISP_AE_MIN_HEIGHT OT_ISP_AE_MIN_HEIGHT
#define HI_ISP_AWB_ZONE_ORIG_ROW OT_ISP_AWB_ZONE_ORIG_ROW
#define HI_ISP_AWB_ZONE_ORIG_COLUMN OT_ISP_AWB_ZONE_ORIG_COLUMN
#define HI_ISP_SPECAWB_FACTTBL_ELMNUM OT_ISP_SPECAWB_FACTTBL_ELMNUM
#define HI_ISP_SPECAWB_FACTTBL_SIZE OT_ISP_SPECAWB_FACTTBL_SIZE
#define HI_ISP_SPECAWB_BBL_SIZE OT_ISP_SPECAWB_BBL_SIZE
#define HI_ISP_SPECAWB_FACT_ELEMENT_LUT OT_ISP_SPECAWB_FACT_ELEMENT_LUT
#define HI_ISP_SPECAWB_WB_CNVTBL_LUT OT_ISP_SPECAWB_WB_CNVTBL_LUT
#define HI_ISP_SPECAWB_KELDBB_LUT OT_ISP_SPECAWB_KELDBB_LUT
#define HI_ISP_SPECAWB_BBL_LUT OT_ISP_SPECAWB_BBL_LUT
#define HI_ISP_SPECAWB_CAA_LUT OT_ISP_SPECAWB_CAA_LUT
#define HI_ISP_SPECAWB_BUF_SIZE OT_ISP_SPECAWB_BUF_SIZE
#define HI_ISP_SPECAWB_WB_CNVTBL_LUT_OFFSET OT_ISP_SPECAWB_WB_CNVTBL_LUT_OFFSET
#define HI_ISP_SPECAWB_KELDBB_LUT_OFFSET OT_ISP_SPECAWB_KELDBB_LUT_OFFSET
#define HI_ISP_SPECAWB_BBL_LUT_OFFSET OT_ISP_SPECAWB_BBL_LUT_OFFSET
#define HI_ISP_SPECAWB_CAA_LUT_OFFSET OT_ISP_SPECAWB_CAA_LUT_OFFSET
#define HI_ISP_AWB_LIB_NUM OT_ISP_AWB_LIB_NUM
#define HI_ISP_AE_LIB_NUM OT_ISP_AE_LIB_NUM
#define HI_ISP_SHARPEN_RGAIN OT_ISP_SHARPEN_RGAIN
#define HI_ISP_SHARPEN_RGAIN_MAX OT_ISP_SHARPEN_RGAIN_MAX
#define HI_ISP_SHARPEN_RGAIN_BIT OT_ISP_SHARPEN_RGAIN_BIT
#define HI_ISP_SHARPEN_GGAIN OT_ISP_SHARPEN_GGAIN
#define HI_ISP_SHARPEN_GGAIN_MAX OT_ISP_SHARPEN_GGAIN_MAX
#define HI_ISP_SHARPEN_GGAIN_BIT OT_ISP_SHARPEN_GGAIN_BIT
#define HI_ISP_SHARPEN_BGAIN OT_ISP_SHARPEN_BGAIN
#define HI_ISP_SHARPEN_BGAIN_MAX OT_ISP_SHARPEN_BGAIN_MAX
#define HI_ISP_SHARPEN_BGAIN_BIT OT_ISP_SHARPEN_BGAIN_BIT
#define HI_ISP_SHARPEN_LUMAWGT_MAX OT_ISP_SHARPEN_LUMAWGT_MAX
#define HI_ISP_SHARPEN_LUMAWGT OT_ISP_SHARPEN_LUMAWGT
#define HI_ISP_SHARPEN_LUMAWGT_BIT OT_ISP_SHARPEN_LUMAWGT_BIT
#define HI_ISP_SHARPEN_EDGE_FILT_MAX_CAP OT_ISP_SHARPEN_EDGE_FILT_MAX_CAP
#define HI_ISP_SHARPEN_EDGE_FILT_MAX_CAP_MAX OT_ISP_SHARPEN_EDGE_FILT_MAX_CAP_MAX
#define HI_ISP_SHARPEN_EDGE_FILT_MAX_CAP_BIT OT_ISP_SHARPEN_EDGE_FILT_MAX_CAP_BIT
#define HI_ISP_DRC_STRENGTH_MAX OT_ISP_DRC_STRENGTH_MAX
#define HI_ISP_DRC_SPA_FLT_COEF_MAX OT_ISP_DRC_SPA_FLT_COEF_MAX
#define HI_ISP_DRC_CC_NODE_NUM OT_ISP_DRC_CC_NODE_NUM
#define HI_ISP_DRC_TM_NODE_NUM OT_ISP_DRC_TM_NODE_NUM
#define HI_ISP_DRC_CC_COEF_MAX OT_ISP_DRC_CC_COEF_MAX
#define HI_ISP_DRC_SHP_LOG_MIN OT_ISP_DRC_SHP_LOG_MIN
#define HI_ISP_DRC_BCNR_NODE_NUM OT_ISP_DRC_BCNR_NODE_NUM
#define HI_ISP_DRC_BCNR_STRENGTH_NODE_NUM OT_ISP_DRC_BCNR_STRENGTH_NODE_NUM
#define HI_ISP_DEMOSAIC_DETAIL_SMOOTH_RANGE_MAX OT_ISP_DEMOSAIC_DETAIL_SMOOTH_RANGE_MAX
#define HI_ISP_DEMOSAIC_DETAIL_SMOOTH_RANGE_MIN OT_ISP_DEMOSAIC_DETAIL_SMOOTH_RANGE_MIN
#define HI_ISP_DEMOSAIC_NONDIR_MFDETALEHC_STR_MAX OT_ISP_DEMOSAIC_NONDIR_MFDETALEHC_STR_MAX
#define HI_ISP_DEMOSAIC_COLOR_NOISE_THDY_MAX OT_ISP_DEMOSAIC_COLOR_NOISE_THDY_MAX
#define HI_ISP_DEMOSAIC_COLOR_NOISE_STRY_MAX OT_ISP_DEMOSAIC_COLOR_NOISE_STRY_MAX
#define HI_ISP_DEMOSAIC_NONDIR_STR_MAX OT_ISP_DEMOSAIC_NONDIR_STR_MAX
#define HI_ISP_DEMOSAIC_NONDIR_HFDETALEHC_STR_MAX OT_ISP_DEMOSAIC_NONDIR_HFDETALEHC_STR_MAX
#define HI_ISP_DEMOSAIC_HFDETALEHC_STR_MAX OT_ISP_DEMOSAIC_HFDETALEHC_STR_MAX
#define HI_ISP_CAC_ACAC_EDGE_GAIN_MAX OT_ISP_CAC_ACAC_EDGE_GAIN_MAX
#define HI_ISP_CAC_ACAC_RB_STR_MAX OT_ISP_CAC_ACAC_RB_STR_MAX
#define HI_ISP_CAC_PURPLE_LIM_MAX OT_ISP_CAC_PURPLE_LIM_MAX
#define HI_ISP_CAC_PURPLE_LIM_MIN OT_ISP_CAC_PURPLE_LIM_MIN
#define HI_ISP_CAC_ACAC_SATU_THD_MAX OT_ISP_CAC_ACAC_SATU_THD_MAX
#define HI_ISP_LDCI_HEPOSWGT_MAX OT_ISP_LDCI_HEPOSWGT_MAX
#define HI_ISP_LDCI_HENEGWGT_MAX OT_ISP_LDCI_HENEGWGT_MAX
#define HI_ISP_LDCI_LPF_LUT_SIZE OT_ISP_LDCI_LPF_LUT_SIZE
#define HI_ISP_PREGAMMA_LUT_MAX OT_ISP_PREGAMMA_LUT_MAX
#define HI_ISP_LBLC_STRENGTH_MAX OT_ISP_LBLC_STRENGTH_MAX
#define HI_ISP_LBLC_DEFAULT_STRENGTH OT_ISP_LBLC_DEFAULT_STRENGTH
#define HI_ISP_LBLC_GRID_COL OT_ISP_LBLC_GRID_COL
#define HI_ISP_LBLC_GRID_ROW OT_ISP_LBLC_GRID_ROW
#define HI_ISP_LBLC_GRID_POINTS OT_ISP_LBLC_GRID_POINTS
#define HI_ISP_LBLC_MAX_VALUE OT_ISP_LBLC_MAX_VALUE
#define HI_ISP_LSC_MESHSTR_MAX OT_ISP_LSC_MESHSTR_MAX
#define HI_ISP_LSC_DEFAULT_MESH_STRENGTH OT_ISP_LSC_DEFAULT_MESH_STRENGTH
#define HI_ISP_LSC_DEFAULT_WEIGHT OT_ISP_LSC_DEFAULT_WEIGHT
#define HI_ISP_LSC_GRID_COL OT_ISP_LSC_GRID_COL
#define HI_ISP_LSC_GRID_ROW OT_ISP_LSC_GRID_ROW
#define HI_ISP_LSC_GRID_POINTS OT_ISP_LSC_GRID_POINTS
#define HI_ISP_LSC_XGRID_WIDTH_MAX OT_ISP_LSC_XGRID_WIDTH_MAX
#define HI_ISP_LSC_YGRID_WIDTH_MAX OT_ISP_LSC_YGRID_WIDTH_MAX
#define HI_ISP_LSC_DEFAULT_MESH_SCALE OT_ISP_LSC_DEFAULT_MESH_SCALE
#define HI_ISP_LSC_MESHSCALE_NUM OT_ISP_LSC_MESHSCALE_NUM
#define HI_ISP_LSC_MESHSCALE0_DEF_GAIN OT_ISP_LSC_MESHSCALE0_DEF_GAIN
#define HI_ISP_LSC_MESHSCALE1_DEF_GAIN OT_ISP_LSC_MESHSCALE1_DEF_GAIN
#define HI_ISP_LSC_MESHSCALE2_DEF_GAIN OT_ISP_LSC_MESHSCALE2_DEF_GAIN
#define HI_ISP_LSC_MESHSCALE3_DEF_GAIN OT_ISP_LSC_MESHSCALE3_DEF_GAIN
#define HI_ISP_LSC_MAX_GAIN OT_ISP_LSC_MAX_GAIN
#define HI_ISP_LSC_GAIN_BITWIDTH OT_ISP_LSC_GAIN_BITWIDTH
#define HI_ISP_AF_GAMMA_VALUE_MAX OT_ISP_AF_GAMMA_VALUE_MAX
#define HI_ISP_CR_SLOPE_MAX OT_ISP_CR_SLOPE_MAX
#define HI_ISP_CR_THR_MAX OT_ISP_CR_THR_MAX
#define HI_ISP_CR_NPOFFSET_MAX OT_ISP_CR_NPOFFSET_MAX
#define HI_ISP_CR_NPOFFSET_MIN OT_ISP_CR_NPOFFSET_MIN
#define HI_ISP_FE_AF_SUPPORT OT_ISP_FE_AF_SUPPORT
#define HI_ISP_BE_AF_SUPPORT OT_ISP_BE_AF_SUPPORT
#define HI_ISP_AF_ENABLE_MASK OT_ISP_AF_ENABLE_MASK
#define HI_ISP_RGBIR_CVTMAT_NUM OT_ISP_RGBIR_CVTMAT_NUM
#define HI_ISP_RGBIR_CTRL_NUM OT_ISP_RGBIR_CTRL_NUM
#define HI_ISP_RGBIR_CROSSTALK_NUM OT_ISP_RGBIR_CROSSTALK_NUM
#define HI_ISP_RGBIR_LUT_NUM OT_ISP_RGBIR_LUT_NUM
#define HI_ISP_CRB_LUT_LENGTH OT_ISP_CRB_LUT_LENGTH
#define HI_ISP_CRB_GAIN_MAX OT_ISP_CRB_GAIN_MAX
#define HI_ISP_CRB_GAIN_MIN OT_ISP_CRB_GAIN_MIN
#define HI_ISP_CA_RATIO_MAX OT_ISP_CA_RATIO_MAX
#define HI_ISP_CLUT_GAIN_MAX OT_ISP_CLUT_GAIN_MAX
#define HI_ISP_CCM_LUMA_COEFR_DEFAULT OT_ISP_CCM_LUMA_COEFR_DEFAULT
#define HI_ISP_CCM_LUMA_COEFB_DEFAULT OT_ISP_CCM_LUMA_COEFB_DEFAULT
#define HI_ISP_CCM_DARKPREV_DEFAULT OT_ISP_CCM_DARKPREV_DEFAULT
#define HI_ISP_CCM_LUMA_COEFR_UP_DEFAULT OT_ISP_CCM_LUMA_COEFR_UP_DEFAULT
#define HI_ISP_CCM_LUMA_COEFB_UP_DEFAULT OT_ISP_CCM_LUMA_COEFB_UP_DEFAULT
#define HI_ISP_CCM_SOFT_CLIP0_STEP_DEFAULT OT_ISP_CCM_SOFT_CLIP0_STEP_DEFAULT
#define HI_ISP_CCM_SOFT_CLIP1_STEP_DEFAULT OT_ISP_CCM_SOFT_CLIP1_STEP_DEFAULT
#define HI_ISP_CCM_PEAKSUPP_SAT_DEFAULT OT_ISP_CCM_PEAKSUPP_SAT_DEFAULT
#define HI_ISP_CCM_PEAKSUPP_MAX_DEFAULT OT_ISP_CCM_PEAKSUPP_MAX_DEFAULT
#define HI_ISP_CCM_DARK_RANGE_MAX OT_ISP_CCM_DARK_RANGE_MAX
#define HI_ISP_EXPANDER_NODE_NUM OT_ISP_EXPANDER_NODE_NUM
#define HI_ISP_EXPANDER_REG_NODE_NUM OT_ISP_EXPANDER_REG_NODE_NUM
#define HI_ISP_EXPANDER_X_MAX OT_ISP_EXPANDER_X_MAX
#define HI_ISP_EXPANDER_Y_MAX OT_ISP_EXPANDER_Y_MAX
#define HI_EXT_SYSTEM_MANUAL_DEHAZE_HBLK_DEFAULT OT_EXT_SYSTEM_MANUAL_DEHAZE_HBLK_DEFAULT
#define HI_EXT_SYSTEM_MANUAL_DEHAZE_VBLK_DEFAULT OT_EXT_SYSTEM_MANUAL_DEHAZE_VBLK_DEFAULT

#define HI_ISP_FUSION_THRESHOLD_MAX OT_ISP_FUSION_THRESHOLD_MAX

#define HI_ISP_DCF_LIGHT_SOURCE_FLASH OT_ISP_DCF_LIGHT_SOURCE_FLASH
#define HI_ISP_DCF_LIGHT_SOURCE_CLOUDY OT_ISP_DCF_LIGHT_SOURCE_CLOUDY
#define HI_ISP_DCF_LIGHT_SOURCE_STANDARD_A OT_ISP_DCF_LIGHT_SOURCE_STANDARD_A
#define HI_ISP_DCF_LIGHT_SOURCE_D75 OT_ISP_DCF_LIGHT_SOURCE_D75
#define HI_ISP_DCF_LIGHT_SOURCE_OTHER OT_ISP_DCF_LIGHT_SOURCE_OTHER
#define HI_ISP_DCF_CUSTOM_RENDERED_MAX OT_ISP_DCF_CUSTOM_RENDERED_MAX
#define HI_ISP_DCF_CAPTRUE_TYPE_MAX OT_ISP_DCF_CAPTRUE_TYPE_MAX
#define HI_ISP_DCF_GAIN_CONTROL_MAX OT_ISP_DCF_GAIN_CONTROL_MAX
#define HI_ISP_DCF_SATURATION_MAX OT_ISP_DCF_SATURATION_MAX

#ifdef __cplusplus
}
#endif
#endif /* HI_ISP_DEFINE_H */
